home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
powerb5.zip
/
P5WPR003.TIP
< prev
next >
Wrap
Text File
|
1993-06-01
|
2KB
|
49 lines
For some time I've tried to come up with a WordPerfect macro
to save my document and allow me to continue working. I
tried {DISPLAY OFF} {Save}{Enter}y, but that worked only if
the document had already been saved once and given a name.
If the document was still nameless, I'd get an 'ERROR:
Invalid drive/path specification' message and have to hit
the <F1> key to continue. Very annoying.
After some attempts, I wrote a better macro for saving my
document while I was working (see below).
{DISPLAY OFF}
{ON ERROR}{GO}NO_NAME~~
{Save}{Enter}y
{GO}END~
{LABEL}NO_NAME~
{TEXT}fname~File name: ~
{Save}{VARIABLE}fname~
{Enter}
{LABEL}END~
This macro will prompt me for a file name if the document
doesn't have one yet, so I can use the same keystroke
whether this is my first save or my tenth. The macro's only
quirk is that when I first save a document, I see the same
old error message. After I've typed in a file name, I see it
again. This is disconcerting at first, but not serious. The
macro works fine despite the appearance of these messages.
Bruce Purcell
Elk Grove, California
Editor's Note: Not being a WordPerfect guru, I couldn't
figure out a way to avoid the error message Mr. Purcell
mentioned. But as soon as this tip was published, dozens of
readers volunteered solutions. The results are described in
the tip "WordPerfect Quick Save Redux," below this one on
the Wordprocessing menu of the PowerBase *.* Volume 5
Desktop. The improved ALTS.WPM macro is included in the
P5WPM directory on your PowerBase *.* Volume 5 diskette.
Title: A Quick Save in WordPerfect
Category: WPR
Issue Date: June, 1992
Editor: Brett Glass
Supplementary Files: None
Filename: P5WPR003.TIP